#include <iostream>
#include <string>
#include <stdexcept>
using namespace std;

#include "mackinac.h"
using namespace sap::businessone::webbridge;

#include "UIEnv.h"

int main()
{
	try
	{
		int ret = 0;
		bool enabled = false;
		wstring list;

		//ret = IMCCBridge::instance().login(L"https://10.58.136.166:8443", L"manager", L"1234");
		//ret = IMCCBridge::instance().deployPackage(L"some package");
		//enabled = IMCCBridge::instance().isCompanyEnabled();
		//list = IMCCBridge::instance().getMessageList(L"some filter");

		//UIEnv env;

		//XSEngineBridge::instance().getXAppList(L"some filter");

		//B1AHConnection::instance().EnsureConnection(L"https://10.58.136.166:8443", L"jSessionId=E173401B-B8F8-49BF-B9F3-101E593A7879");
		//B1AHConnection::instance().DeployPackage(L"some package");
	}
	catch(const exception& e)
	{
		cout << "error: " << e.what() << endl;
	}

	return 0;
}

